package com.xiaomo.gitee.datamanager.mapper;
import com.xiaomo.gitee.datamanager.cache.MybatisRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xiaomo.gitee.datamanager.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class,eviction = MybatisRedisCache.class)
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission selectOneById(@Param("id") Long id);

}




